package main.resources.model.entity.moodle;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigInteger;


/**
 * The persistent class for the mdl_choice_options database table.
 * 
 */
@Entity
@Table(name="mdl_choice_options")
public class MdlChoiceOption implements Serializable {
	
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	private BigInteger choiceid;

	private BigInteger maxanswers;

    @Lob()
	private String text;

	private BigInteger timemodified;

    public MdlChoiceOption() {
    }

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public BigInteger getChoiceid() {
		return this.choiceid;
	}

	public void setChoiceid(BigInteger choiceid) {
		this.choiceid = choiceid;
	}

	public BigInteger getMaxanswers() {
		return this.maxanswers;
	}

	public void setMaxanswers(BigInteger maxanswers) {
		this.maxanswers = maxanswers;
	}

	public String getText() {
		return this.text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public BigInteger getTimemodified() {
		return this.timemodified;
	}

	public void setTimemodified(BigInteger timemodified) {
		this.timemodified = timemodified;
	}

	public String toString() {
		return "{id: " + this.id + "; choiceid: " + this.choiceid + "; text: " + this.text + "}";
	}
	
}